import http from '../utils/request';

const { get, post } = http('admin');

// 获取列表
export const getList = params => get('/api/user/sysCompany/queryCompany', params);
// 获取详情
// export const getDetail = params => get(`/api/user/user/${params.name}`, params);
// 新增
export const add = params => post('/api/user/sysCompany/createCompany', params);
// 编辑
export const edit = params => post('/api/user/sysCompany/updateCompany', params);
// 删除
export const del = params => post('/api/user/sysCompany/deleteCompany', params);



